package designmode.factory;

/**
 * Created by fuchaoyang on 2018/4/20.<br/>
 * description：
 */

public class IntelCpu implements ICpu {
  /**
   * CPU的针脚数
   */
  private int pins = 100;

  public IntelCpu(int pins) {
    this.pins = pins;
  }

  @Override public void calculate() {
    System.out.println("Intel CPU的针脚数：" + pins);
  }
}
